
            <!-- Begin Box Content -->
            <div id="box-content-home">
               
               <h1 class="t-event">Event <hr class="blue" /></h1>
                <div class="camera_wrap camera_azure_skin" id="camera">
                	
					<?php foreach($event as $item):?>	
                    
                    <div data-thumb="<?php echo base_url()?>uploads/event/thumbs/<?php echo $item['image']?>" data-src="<?php echo base_url()?>uploads/event/<?php echo $item['image']?>" data-link="<?php echo site_url('event/'.$item['id'].'/'.set_url_title($item['title'])) ?>">
                        <div class="camera_caption fadeFromBottom">
                            <h3><a href="<?php echo site_url('event/'.$item['id'].'/'.set_url_title($item['title'])) ?>"><?php echo $item['title']?></a> <span class="date"><?php echo format_medium_date($item['start_date'])?> <?php if($item['end_date']): ?>- <?php echo format_medium_date($item['end_date'])?> <?php endif ?></span></h3>
                            <p><a href="<?php echo site_url('event/'.$item['id'].'/'.set_url_title($item['title'])) ?>"><?php echo purify(word_limiter($item['content'],30))?></a></p>
                        </div>
                    </div>
                    <?php endforeach ?>
                    
                    
                </div>

            </div> <!-- End Box Content -->
            
            <!-- Begin Box Content -->
            <div id="box-content">
               
               <h1 class="t-article">Latest Article</h1>
               <ul class="list-vert">
               		
					<?php foreach($article as $item):?>
               		
                    <li>
                    	<h2><a href="<?php echo site_url('article/'.$item['id'].'/'.set_url_title($item['title'])) ?>" class="green"><?php echo $item['title']?></a></h2>
						<div class="desc">
                        	<a href="<?php echo site_url('article/'.$item['id'].'/'.set_url_title($item['title'])) ?>"><img src="<?php echo base_url()?>uploads/article/thumbs/<?php echo $item['image']?>" title="<?php echo site_url('article/'.$item['id'].'/'.set_url_title($item['title'])) ?>" /></a>
                            <div class="desc-posted">Posted by <span>Zack Venger</span> - 15 January 2015</div>
                            <div class="desc-text">
                            	<?php echo $item['description']?>
                            </div>
                        </div>
                    </li>
                    <?php endforeach ?> 
                    
               </ul>
            </div> <!-- End Box Content -->
            

    

